package com.techstar.api.pojo.public_transport;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.StrDateDeserializer;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Getter
@Setter
@Entity
@ToString
@Table(name = "gis_public_transport_bus_realtime_bus_gps")
@org.hibernate.annotations.Table(appliesTo = "gis_public_transport_bus_realtime_bus_gps", comment="gis 公交车实时车辆位置信息")
public class BusRealtimeBusGps {

    @Id
    @Column(columnDefinition="varchar(100) COMMENT '车牌号'")
    private String plate_num;
    @Column(columnDefinition="varchar(100) COMMENT '实时位置坐标'")
    private String local_gps;
    @Column(columnDefinition="varchar(100) COMMENT '载客量'")
    private String most_count;
    @Column(columnDefinition="varchar(100) COMMENT '驾驶员名称'")
    private String driver_name;
//    @Column(columnDefinition="varchar(100) COMMENT '序号'")
//    private String orderNo;
//    @Column(columnDefinition="varchar(100) COMMENT '业务更新时间'")
//    @JsonDeserialize(using = StrDateDeserializer.class)
//    private String createTime;



}
